﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace SceneManager.Processors
{
    public class GaussianBlurProcessor : TextureProcessor
    {
        public float Deviation { get; set; }

        private float[] values;

        public GaussianBlurProcessor(Game game, float deviation) : base(game)
        {
            Deviation = deviation;
            int size = (int)Math.Ceiling(Deviation * 3) * 2 + 1;

            values = new float[size];
            for (int x = 0; x < size; x++)
                values[x] = 0.0f;//Utilities.MathHelper.Gaussian1D(x, Deviation);
        }

        public override void Process(Camera camera, GameTime gameTime)
        {
            
        }
    }
}
